import request from '@/utils/request'
// 登录接口
export const login = (data) => {
  return request({
    url: '/login',
    method: 'post',
    data,
    notToken: true
  })
}

// 测试接口
export const info = (data) => {
  return request({
    url: '/info'
  })
}
// 退出登录
export const logout = () => {
  return request({
    url: '/logout'
  })
}
